package com.xcap.security.datasourceauthentication.service.impl;

import com.xcap.security.datasourceauthentication.dao.SysMenuDao;
import com.xcap.security.datasourceauthentication.dao.SysUserDao;
import com.xcap.security.datasourceauthentication.entity.SysUser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;


@Service
@Slf4j
public class SysUserServiceImpl implements SysUserService {
    @Autowired
    private SysUserDao sysUserDao;

    @Autowired
    private SysMenuDao sysMenuDao;

    @Override
    public SysUser getSysUserByUsername(String username) {
        return sysUserDao.getSysUserByUsername(username);
    }


}
